//
//  MainGame.m
//  ZeroWorld
//
//  Created by 马进 on 2018/2/9.
//  Copyright © 2018年 马进. All rights reserved.
//

#import "MainGame.h"
#import "MapCreator.h"
@interface MainGame () {
    
}

@end

@implementation MainGame

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.mainRole = [[MainRole alloc] init];
    }
    return self;
}

- (void)start {
    MapCreator *map = [[MapCreator alloc] init];
    MapArea *island = [map createIslandMap];
    MapBlock *startBlock = [island lookMapBlock:0];
    [startBlock enter:self.mainRole];
}

@end
